<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>三种基本选择器的优先级</title>
		<style>
			.c4{
				background-color: darkgrey;
				color: coral;
			}
			#d1{
				color: #0000FF;
			}
			.c1{
				color: grey;
				font-weight: 900;
			}
			
			div{
				font-size: 49px;
				color: red;
			}
			.c2{
				color: red;
			}
			.c3{
				font-size: 90px;
				font-weight: 900;
				color: black;
			}
			
		</style>
	</head>
	<body>
		<div id="d1" class="c1">金码在手，全球任你走</div>
		
		<p class="c2 c3 c4">
			PS就是欺君
		</p>
	</body>
</html>
